/*
 * Copyright (c) novafaen design 2009 
 */
package tentaflykt;

/**
 * Contains system constants for the Tentaflykt project.
 * @author Kristoffer Nilsson
 */
public interface SystemConstants {
  /** Undefined integer value */
  int UNDEF_INT = Integer.MIN_VALUE;
  /** Undefined double value */
  double UNDEF_DOUBLE = Double.NEGATIVE_INFINITY;
  
  /**
   * Editor constants.
   */
  interface Editor {
    /** Default width */
    int WINDOW_WIDTH  = 800;
    /** Default height */
    int WINDOW_HEIGHT = 600;
    /** Default position: left */
    int WINDOW_POS_LEFT = 100;
    /** Default position: top */
    int WINDOW_POS_TOP = 100;
    /** Default maximized */
    boolean WINDOW_MAXIMIZED = false;
    /** Default toolbox position: left */
    int TOOLBAR_POS_LEFT = 50;
    /** Default toolbox position: top */
    int TOOLBAR_POS_TOP = 50;
    /** Settings XML-file, relative path */
    String SETTINGS_XML = "settings/EditorSettings.xml";
    /** Settings DTD-file */
    String SETTINGS_DTD = "settings/dtd/editor.dtd";
  }
  
  /**
   * Toolbox constants.
   */
  public interface Toolbox {
    /** Tool icon width */
    int WINDOW_WIDTH = 100;
    /** Tool icon height */
    int WINDOW_HEIGHT = 400;
  }
  
  /**
   * XML constants.
   */
  interface XML {
    /** XML header, version 1.0, UTF-8 encoding */
    String XML_HEADER = "<?xml version='1.0' encoding='UTF-8'?>";
  }
  
  /**
   * Misc, move everything out from here as soon as possible!
   */
  interface Misc {
    String MESSAGE_GENERATED = "THIS FILE IS GENERATED, DO NOT EDIT!";
  }
}
